<?php
global $modules;

include 'settings/admin_index_modules.php';

$page_title = "Admin index";
$page_text = "";


foreach ($admin_index_modules as $module) 
{
	$page_text .= $theme->show_frontpage_module($module, $modules[$module]);
}

$admin_menu = "";
foreach ($admin_index_menu as $menu) {
	include 'modules/'.$menu.'/admin_menu.php';
	$admin_menu .= $menu_text;
}
?>